package dome;

public class Item {
    // private String title;  // private 导致子类无权访问
    //  protected String title;

    private String title;

    public Item(String title) {
        super();
        this.title = title;
    }

    public void print() {
        System.out.printf("《%s》\n", title);
    }
}
